<style>
.label-default {
    background-color: #f5f7fb;
	color: #999;
}
</style>
<div class="fui-page" ng-if="pagedata.op == 'list'">
	<div id="tab" class="fui-tab fui-tab-danger" style="top:0">
        <a class="external {{pagedata.params.status == 0?'active':''}}" href="javascript:" ng-click="pagedata.params.status=0;tool.get_list('jy_aihire/merch.zhao_log/list/',true)">待答复</a>
        <a class="external {{pagedata.params.status == 1?'active':''}}" href="javascript:" ng-click="pagedata.params.status=1;tool.get_list('jy_aihire/merch.zhao_log/list/',true)">应聘通过</a>
        <a class="external {{pagedata.params.status == 2?'active':''}}" href="javascript:" ng-click="pagedata.params.status=2;tool.get_list('jy_aihire/merch.zhao_log/list/',true)">应聘不通过</a>
        <a class="external {{pagedata.params.status == 3?'active':''}}" href="javascript:" ng-click="pagedata.params.status=3;tool.get_list('jy_aihire/merch.zhao_log/list/',true)">已完成</a>
    </div>
	<div class='fui-content'>
	<div class='jy-content'>
	<div class="fui-cell-group radius" ng-repeat="item in pagedata.list">
		<div class="fui-cellone" style="background:#fff;padding:0.5rem">
				<div class="fui-cellone-label"style="width:auto;padding-right:1rem;font-size:0.8rem">
					{{item.comment}}
				</div>
				<div class="fui-cellone-info" style="text-align:right"></div>
				<div class="fui-cellone-remark">
					{{item.statustitle}}
				 </div>
		</div>
		<div class="fui-cell" style="background:#fff;padding:0.5rem;padding-top:0;align-items:stretch">
				<div class="fui-cell-text" style="line-height:1.8">
					<div>应聘人：{{item.member.nickname}}</div>
					<div>
						<span class="label label-default">{{item.onlinetime.start}}~{{item.onlinetime.end}}</span>
						<span class="label label-default">{{item.baotypetitle}}</span>
					</div>
					<div class="gray" style="font-size:0.65rem">
						{{item.merchname}} <span class="syscolor" ng-if="item.city">{{item.city}}</span>
					</div>
				</div>
				<div class="fui-cellone-remark noremark">
					<span class="bold syscolor" style="font-size:0.9rem">{{item.pay}}</span>
				 </div>
		</div>
		<div class="r" style="padding:0.5rem">
			<span ng-show="item.status == 0" class="btn btn-sm btn-default-o order-delete" href="javascript:" ng-click="pagedata.showcheck=true;pagedata.nowitem=item;">审核操作</span>
			<span class="btn btn-sm btn-default-o order-delete" href="javascript:" ng-click="access_json('/jianli//mid='+item.mid)">查看简历</span>
        </div>
	</div>
	</div>
	<div class="content-empty" ng-show="!pagedata.list || pagedata.list.length == 0 ">
		  <i class="icon jinyunicon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i><br/><p style="color: #999;font-size: .75rem">您暂时没有任务！</p>
	</div>
	<div ng-include="sys_html('common/_copyright',true)"></div>
	</div>
</div>
<div ng-if="pagedata.showcheck" class="popup">
	<div class="popup-body">
		<div class="popup-center">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showcheck=false"></i>
			<div class="content-images" style="padding:0.5rem;">
					<div class="title bold" style="font-size:0.8rem;padding-bottom:0.5rem">【{{pagedata.nowitem.member.usename}}】审核操作</div>
					<div class="weui_btn weui_btn_primary" ng-click="pagedata.showcheck=false;pagedata.nowitem.status=0;post(pagedata.nowitem,'/merch.zhao_log/check/')">待审核状态</div>
					<div class="weui_btn weui_btn_primary" ng-click="pagedata.showcheck=false;pagedata.nowitem.status=1;post(pagedata.nowitem,'/merch.zhao_log/check/')">应聘审核通过</div>
					<div class="weui_btn weui_btn_primary" ng-click="pagedata.showcheck=false;pagedata.nowitem.status=2;post(pagedata.nowitem,'/merch.zhao_log/check/')">应聘审核不通过</div>
			</div>
		</div>
	</div>
</div>
<script>
scope.tool.get_list('jy_aihire/merch.zhao_log/list/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_aihire/merch.zhao_log/list/');
}
</script>